<?php

namespace App\Modules\AdminUser\Models;

use Illuminate\Database\Eloquent\Model;
//use Illuminate\Database\Eloquent\SoftDeletes;

class AdminUser extends Model
{
    //use SoftDeletes;  

    /**
     * 与模型关联的表名
     * @var string
     */
    //protected $table = 'admin_users';

    /**
     * 被隐藏属性。
     * @var array
     */
    protected $hidden = ['password','remember_token'];

    /**
     * $fillable可以被批量赋值的属性.   $guarded为不能批量赋值
     * @var array
     */
    protected $guarded = ['id'];

    /**
     * 属性类型转.
     * @var array
     */
    protected $casts = [];

}